﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication2
{
    class Shortcut : INotifyPropertyChanged
    {
        public int Seq { get; set; }
        private string _name = null;
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
                if (this.PropertyChanged != null)
                {
                    this.PropertyChanged(this, new PropertyChangedEventArgs("Name"));
                }
            }
        }//定义名称字段
        private string _path = null;
        public string Path
        {
             get
            {
                return _path;
            }
            set
            {
                _path = value;
                if (this.PropertyChanged != null)
                {
                    this.PropertyChanged(this, new PropertyChangedEventArgs("Path"));
                }
            }
        }//定义路径字段
        public bool ft { get; set; }//定义删除标识

        #region INotifyPropertyChanged 成员

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
